/*
操作系统中使用的全局数据结构，在编译链接时就确定
*/

#include <Kernel/GlobalData.h>

DWORD_PTR g_dwlpPrimitiveMemoryPool = 0;
DWORD g_bmPrimitiveMemoryPool[PRIMITIVE_MEMORY_BITMAP_SIZE] = {0};
DWORD g_dwMemoryPoolBitmapSearchIndex = PRIMITIVE_MEMORY_BITMAP_SIZE;
LPArenaDescriptorTable g_lpKernelHeap;
LPTCBQUEUE g_lpReadyTCBQueue;
ProcessControlBlock g_ProcessTree;
#include <IO/VideoTextMode.h>
int g_VideoTextModeColor = VIDEO_TEXT_MODE_COLOR_INFO;
#include <Synchronization/SpinLock.h>
CPUInfo g_CPUInfo[512];
#include <FileSystem/FAT32.h>
FAT32BPBHEADER g_BPB;
FileControlBlock g_FCBCache;
#include <IO/Keyboard.h>
LPKeyboardInputBuffer g_lpKeyboardInputBuffer;
#include <IntExcept/IntExcept.h>
LPVOID* g_lpIntStack;